<template>
  <div style="width: 500px">
    <el-form ref="form" :model="form" label-width="100px">
      <el-form-item label="账户ID">
        <el-input v-model="form.id" placeholder="请输入账号ID" required></el-input>
      </el-form-item>
      <el-form-item label="账户昵称">
        <el-input v-model="form.name" placeholder="请输入账号昵称" required></el-input>
      </el-form-item>
      <el-form-item label="账户密码">
        <el-input v-model="form.pwd" placeholder="请输入账户密码" required></el-input>
      </el-form-item>
      <el-form-item label="账户角色">
        <el-select v-model="form.sex" placeholder="请选择账户角色" required>
          <el-option label="客服" value="Kf"></el-option>
          <el-option label="管理" value="Ad"></el-option>
          <el-option label="超管" value="Sa"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">立即创建</el-button>
        <el-button>取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
  export default {
    name: "AdminManager",
    data() {
      return {
        form: {
          name: '',
          id: '',
          pwd: '',
          role: ''
        }
      }
    },
    methods: {
      onSubmit() {
        
      }
    }
  }
</script>

<style scoped>

</style>
